package com.qbm.association.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qbm.association.entity.Club;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Aron
 * @since 2022-02-07
 */
@Mapper
public interface ClubMapper extends BaseMapper<Club> {
    IPage<List<HashMap<Object,Object>>> getAllApplicantByStatus(
            Page page, @Param("id") Integer id, @Param("power") Integer power,
            @Param("name") String name, @Param("join_club_status") Integer join_club_status);
}
